package cn.wzvtc.softwaretechintro.phase02;

public class Debug04_Callstack {
    public static void main(String[] args) {
        int n=10;
        int result = jiecheng(n);
        System.out.println(result);
    }

    private static int jiecheng(int n) {
        int result=1;
        for(int i = 1; i<= n; i++){
            result=result*i;
        }
        return result;
    }
}
